package models

type Response struct {
	Code    ResponseCode `json:"code"`
	Message string       `json:"message"`
	Data    interface{}  `json:"data"`
}

// code enums
type ResponseCode int

const (
	ResponseSuccess     ResponseCode = 0
	ResponseAuthError   ResponseCode = 1
	ResponseParamsError ResponseCode = 2
	ResponseServerError ResponseCode = 3
)
